<!doctype html>
<html>
<head>
<!--{eval $__my=$GLOBALS[_J][member];}-->
<base href="{$this->Config[site_url]}/" />
{eval $conf_charset=$this->Config['charset'];}<meta http-equiv="Content-Type" content="text/html; charset=$conf_charset" />
<meta http-equiv="X-UA-Compatible" content="Chrome=1,IE=edge" />
<title>{$this->Config[site_name]}({$this->Config[site_domain]}){conf page_title}</title>
<meta name="Keywords" content="{$this->Config['index_meta_keywords']},{$this->MetaKeywords},{conf site_name}{conf meta_keywords}" />
<meta name="Description" content="{$this->Config['index_meta_description']},{$this->MetaDescription},{conf site_notice}{conf meta_description}" />
<link rel="shortcut icon" href="favicon.ico" />
<link href="styles/main.css" rel="stylesheet" type="text/css" />
<link href="styles/guest.css" rel="stylesheet" type="text/css" />
<!--{if $this->Config[theme_id]}-->
<link href="theme/{$this->Config[theme_id]}/theme.css?v={SYS_BUILD}" rel="stylesheet" type="text/css" />
<!--{/if}-->

<!--{subtemplate "common_header_css"}-->
<!--{subtemplate "common_header_js"}-->
<script type="text/javascript" src="js/min.js"></script>
<script type="text/javascript" src="js/common.js"></script>

</head>
{$additional_str}
<body>

<div id="headWrap">
<h1 id="logo">
<a title="{conf site_name}" href="index.php"><img src="images/logo_guest.png" style="_filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(enabled=true,sizingMethod=crop)"/></a></h1>
</div>

<div id="mainWrapper">
  <div id="topbox">
    <div id="tleft">
	
<!--幻灯广告-->
{if $this->Config[slide_index_enable] && ($slide_config=ConfigHandler::get('slide_index')) && $slide_config[enable] && $slide_config[list]}
	<script src="js/kinslideshow.js" type="text/javascript"></script>
	<script type="text/javascript">
		$(function(){
			$("#KinSlideshow").KinSlideshow({
			moveStyle:"down",			//切换方向 可选值：【 left | right | up | down 】
			intervalTime:3,   			//设置间隔时间为5秒 【单位：秒】 [默认为5秒]
			moveSpeedTime:400 , 		//切换一张图片所需时间，【单位：毫秒】[默认为400毫秒]
			isHasTitleFont:false,		//是否显示标题文字 可选值：【 true | false 】
			isHasTitleBar:false,		//是否显示标题背景 可选值：【 true | false 】[默认为true]	
			//标题文字样式，(isHasTitleFont = true 前提下启用)  
			titleBar:{titleBar_height:30,titleBar_bgColor:"#08355c",titleBar_alpha:0.3},
			titleFont:{TitleFont_size:12,TitleFont_color:"#FFFFFF",TitleFont_weight:"normal"},
			//按钮样式设置，(isHasBtn = true 前提下启用) 
			btn:{btn_bgColor:"#FFFFFF",btn_bgHoverColor:"#1072aa",btn_fontColor:"#000000",btn_fontHoverColor:"#FFFFFF",btn_borderColor:"#cccccc",btn_borderHoverColor:"#1188c0",btn_borderWidth:1}
			});
		});
	</script>
	<div id="KinSlideshow" style="visibility:hidden;width:680px;height:220px;overflow:hidden;position:relative;">
	{loop $slide_config[list] $_v}
	  {if $_v['enable'] == 1}
        <a href="{$_v[href]}" target="_blank"><img src="{$_v[src]}" alt="" width="680" height="220" onerror="javascript:faceError(this);"/></a>
	  {/if}
    {/loop}
	</div>
{/if}
<!--幻灯广告-->

      <!--热门话题-->
      <div class="talking"> <strong>正在热议：</strong>
        <div id="Tacticle" class="acticle">
          <div id="indemo">
            <div id="Tacticle_s">
			<!--{if $r_tags}--><!--{loop $r_tags $val}--><a href="index.php?mod=tag&code={$val[name]}" class="Ts">{$val[name]}</a><!--{/loop}--><!--{/if}-->
            </div>
            <div id="demo2"></div>
          </div>
		<script type="text/javascript">
			/*
			 两秒后再执行
			 */
			 $(document).ready(function(){
				var speed=40;
				var tab=document.getElementById("Tacticle");
				var tab1=document.getElementById("Tacticle_s");
				var tab2=document.getElementById("demo2");
				tab2.innerHTML=tab1.innerHTML;
				function Marquee(){
					if(tab2.offsetWidth-tab.scrollLeft<=0)
						tab.scrollLeft-=tab1.offsetWidth
					else{
						tab.scrollLeft++;
					}
				}
				var MyMar=setInterval(Marquee,speed);
				tab.onmouseover=function() {clearInterval(MyMar)};
				tab.onmouseout=function() {MyMar=setInterval(Marquee,speed)};
			 });
		</script>
        </div>
      </div>
      <!--热门话题-->
    </div>
    <!--注册登录-->
    <div class="loginbox">
	<!--{eval $login_extract=jsg_member_login_extract();}-->
	<!--{if $login_extract && $login_extract[reg_button_html]}-->
		{$login_extract[reg_button_html]}
	<!--{else}-->
    <a title="注册{conf site_name}" onclick="window.location.href='{conf site_url}/index.php?mod=member';return false;" class="btn_reg">注册{conf site_name}</a>
	<!--{/if}-->
      <div class="login_area">	  
	  <!--{if $login_extract && (($login_extract_forms=$login_extract[login_forms]) || ($login_extract_html=$login_extract[login_html]))}-->
		<!--{if $login_extract_forms}-->
			<form method="{$login_extract_forms[method]}" action="{$login_extract_forms[action]}" id="guest_login">
			  <!--{loop $login_extract_forms[hidden_inputs] $v}-->
			  <input type="hidden" name="{$v[name]}" value="{$v[value]}" />
			  <!--{/loop}-->
			  <div class="item">
				<span class="enterInput">
				<input type="text" name="{$login_extract_forms[username_input][name]}" value="{$username}" class="inputtextTag" id="username_input" value="昵称/email/个性域名" onfocus="this.value=''" onblur="if(this.value==''){this.value='昵称/email/个性域名';}">
				</span> 
				</div>
			  <div class="item">
				<span class="enterInput">
				<input type="password" name="{$login_extract_forms[password_input][name]}" class="inputtextTag" id="password_input" value="请输入登录密码" onfocus="this.value=''" onblur="if(this.value==''){this.value='请输入登录密码';}">
				</span> 
				</div>
			  <div class="item pos_rel">
			   
				<span class="enterInput"></span>
				<div class="login-tiparea autologin-tiparea" id="autologin_tiparea">
				  <div class="login-tiparea-top"></div>
				</div>
			  </div>
			  <div class="clearfix">
				
				 <span class="enterInput"> <input type="submit" class="btn_login" value="{$login_extract_forms[submit_input][value]}" name="{$login_extract_forms[submit_input][name]}"/></span> 
				<span class="enterInput"> <input type="submit" class="btn_login" value="" name="{$login_extract_forms[submit_input][name]}"/></span>  
			  </div>
			  <div class="clearfix2">
			  
			  </div>
			</form>
		  <!--{else}-->
			<!--{if $login_extract_html}-->{$login_extract_html}<!--{/if}-->
		  <!--{/if}-->
	  <!--{else}-->
        <!--{if $this->Config['seccode_enable']>1 && $this->Config['seccode_login'] && $this->yxm_title}-->
		<form method="POST" action="{conf site_url}/index.php?mod=login&code=dologin" id="guest_login" onKeyDown="if(event.keyCode==13) YXM_float();" autocomplete="off">
		<!--{else}-->
		<form method="POST" action="{conf site_url}/index.php?mod=login&code=dologin" id="guest_login" onKeyDown="if(event.keyCode==13) guestLoginSubmit();" autocomplete="off">
		<!--{/if}-->
          <div class="item">
            <span class="enterInput">
            <input type="text" name="username" class="inputtextTag" id="username_input" onblur="checkUsername(this.value);if(this.value==''){this.value='$this->Config['changeword']['username']';}" value="{$username}" onfocus="this.value=''">
            </span> 
            <div id="username_tip"></div>
            </div>

          <div class="item">
            <span class="enterInput">
            <input type="password" name="password" class="inputtextTag" id="password_input" value="请输入登录密码" onfocus="this.value=''" onblur="if(this.value==''){this.value='请输入登录密码';}">
            </span> 
            </div>
          <div class="item pos_rel">
            
            <span class="enterInput">
            <label for="savelogin">
            <input type="checkbox" id="savelogin" name="savelogin" value="1" class="inputcheckTag"  title="请不要在公共电脑上使用自动登录功能">
            下次自动登录 </label>
            <a onclick="window.location.href='{conf site_url}/index.php?mod=get_password';return false;" href="javascript:void(0)" class="forgetPass" title="点此可通过2种方式重设密码">忘记密码？</a> </span>
            <div class="login-tiparea autologin-tiparea" id="autologin_tiparea">
              <div class="login-tiparea-top"></div>
            </div>
          </div>
          <div class="clearfix">            
            <span class="enterInput">
			<!--{if $this->Config['seccode_enable']>1 && $this->Config['seccode_login'] && $this->yxm_title}-->
			<input type="button" class="btn_login" value="" onclick="YXM_float();"/>
			<!--{else}-->
			<!--{eval $login_seccode = $this->Config['seccode_enable']==1 && $this->Config['seccode_login'] ? 1 : 0;}-->
			<input type="hidden" id="seccode_input" name="seccode_input">
			<input type="button" class="btn_login" value="" onclick="guestLoginSubmit({$login_seccode});"/>
			<!--{/if}-->
			</span>  
		  </div>
		  <div class="clearfix2">		  
		  	{if $this->Config[sina_enable] && sina_weibo_init()} {eval echo sina_weibo_login('s');} {/if}
			{if $this->Config[qqwb_enable] && qqwb_init()} {eval echo qqwb_login('s');} {/if}	
			{if $this->Config[yy_enable] && yy_init()} {eval echo yy_login('s');} {/if}	
			{if $this->Config[renren_enable] && renren_init()} {eval echo renren_login('s');} {/if}	
			{if $this->Config[kaixin_enable] && kaixin_init()} {eval echo kaixin_login('s');} {/if}	
			{if $this->Config[fjau_enable] && fjau_init()} {eval echo fjau_login('s');} {/if}	
		  </div>
        </form>
	  <!--{/if}-->
      </div>
    </div>
    <!--注册登录-->
  </div>
 <div id="midBox">
    <div class="mleft">
	<h1 class="htitle2">最受关注用户</h1>
      <ul class="userlist">
	  <!--{loop $r_users $val}-->
      <!--{eval ++$_floor;}-->
      <li>
      <a target="_blank" href="index.php?mod={$val[username]}" class="nude_face"><img  title="{$val[nickname]}" src="{$val[face]}"  onerror="javascript:faceError(this);"></a>
      <a target="_blank" href="index.php?mod={$val[username]}">{$val[nickname]}</a>
      </li>
      <!--{/loop}-->
      </ul>
	  <h1 class="htitle4">近期活跃用户</h1>
      <ul class="userlist">
	  <!--{loop $day2_r_users $val}-->
      <li><a target="_blank" href="index.php?mod={$val[username]}"  class="nude_face"><img  title="{$val[nickname]}" src="{$val[face_original]}"  onerror="javascript:faceError(this);"></a>
      <a target="_blank" href="index.php?mod={$val[username]}">{$val[nickname]}</a>
      </li>
	  <!--{/loop}-->
      </ul>

	</div>
    <div class="mcenter">
    <h1 class="htitle">大家都在说<!--{if $this->Config['seccode_enable']>1 && $this->Config['seccode_login'] && $this->yxm_title}--><span id="yxm_pub_button" onclick="YXM_popBox(this,'login','{$this->yxm_title}');">&nbsp;</span><!--{/if}--></h1>
    {template "index_recommend"}
    </div>
    <div class="mright">
	  <!--{jwidget "notice.right"}-->

<script type="text/javascript">
function tabChange(obj,id)
{
var arrayli = obj.parentNode.getElementsByTagName("li"); //获取li数组
var arrayul = document.getElementById(id).getElementsByTagName("ul"); //获取ul数组
for(i=0;i<arrayul.length;i++)
{
if(obj==arrayli[i])
{
arrayli[i].className = "cli";
arrayul[i].className = "";
}
else
{
arrayli[i].className = "";
arrayul[i].className = "hidden";
}
}
}
</script>  
<h3 style=" width:230px; float:left; margin:15px 0 5px 0; color:#555; font-weight:600;">手机访问{$this->Config[site_name]}</h3>
<div class="guest_table">

<div class="phoneShow">
<div class="mobi">
<i>客户端：</i>
<a href="index.php?mod=other&code=iphone" target="_blank" class="ios" title="ios客户端"></a>
<a href="index.php?mod=other&code=android" target="_blank" class="android" title="android客户端"></a>
</div>

</div>

<div class="phoneShow">
<i>其他方式：</i>
<a href="index.php?mod=other&code=mobile" target="_blank">3G版</a>&nbsp;&nbsp;
<a href="index.php?mod=other&code=wap" target="_blank">Wap版</a>&nbsp;&nbsp;
<a href="index.php?mod=other&code=sms" rel="nofollow" target="_blank">手机短信</a>
</div>

</div>

<!--{if $this->Config[imjiqiren_enable] && imjiqiren_init($this->Config)}-->
<div class="visBox">
<a href="index.php?mod=tools&code=imjiqiren" rel="nofollow">QQ机器人</a>
</div>
<!--{/if}-->



<!--{if $this->Config[ad_enable]}-->
<!--{eval SetADV('topic_','middle_right');}-->
<!--{/if}-->
</div>
</div>
<!--{if $this->Config[ad_enable]}-->
<!--{eval SetADV('topic_','footer');}-->
<!--{/if}-->

<div class="mlink">
<span class="lf">
    <!--{jwidget "link"}-->
</span>
<span class="rt">
    <!--{eval $about_link = ConfigHandler::get('about_link');}-->
    <!--{loop $about_link $about_id $_about}-->
    <!--{eval global $rewriteHandler; if($rewriteHandler) $_about[link]=$rewriteHandler->
    formatURL($_about[link],null);}--> <a href="{$_about[link]}">{$_about[name]}</a>&nbsp;
    <!--{/loop}-->
    {conf copyright}&nbsp;<a href="http://www.miibeian.gov.cn/" rel="nofollow" target="_blank" title="网站备案">{conf icp}</a>
    <!--{conf tongji}-->
	<!--{eval $__server_execute_time = round(microtime(true) - $GLOBALS[_J][time_start], 5) . " Second ";}-->
	<!--{eval $__gzip_tips = ((defined('GZIP') && GZIP) ? "&nbsp;Gzip Enable." : "Gzip Disable.");}-->
	<span class="f10" title="{$__server_execute_time},{$__gzip_tips}">执行信息</span>
</span>
</div>



<script type="text/javascript">
$(document).ready(function(){
	//图片延迟加载
	$("ul.imgList img, div.avatar img.lazyload").lazyload({
		skip_invisible : false,
		threshold : 200,
		effect : "fadeIn"
	});


	$(".sinaweiboLogin").mouseover(function(){$(".tlb_sina").show();});$(".sinaweiboLogin").mouseout(function(){$(".tlb_sina").hide();});
	$(".qqweiboLogin").mouseover(function(){$(".tlb_qq").show();});$(".qqweiboLogin").mouseout(function(){$(".tlb_qq").hide();});
	$(".yyLogin").mouseover(function(){$(".tlb_yy").show();});$(".yyLogin").mouseout(function(){$(".tlb_yy").hide();});
	$(".renrenLogin").mouseover(function(){$(".tlb_renren").show();});$(".renrenLogin").mouseout(function(){$(".tlb_renren").hide();});
	$(".kaixinLogin").mouseover(function(){$(".tlb_kaixin").show();});$(".kaixinLogin").mouseout(function(){$(".tlb_kaixin").hide();});
	$(".fjauLogin").mouseover(function(){$(".tlb_fj").show();});$(".fjauLogin").mouseout(function(){$(".tlb_fj").hide();});
});
</script>


</div>
</div>
<!-- JS消息提示层 show_message('发布成功') -->
<div id="show_message_area"></div>
{eval echo $this->js_show_msg();}
{$GLOBALS[schedule_html]}
<!--{eval if($GLOBALS['jsg_schedule_mark'] || jsg_getcookie('jsg_schedule')) echo jsg_schedule();}-->
<!-- Ajax端内容返回 -->
<div id="ajax_output_area"></div>
{$this->yxm_html}
</body>
</html>
